-------------------------------------------------------------------------------
      name:  <unnamed>
       log:  /Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urp
> elainen Zhang)/JOP/UZ_JOP2021_Replication/Analysis/logSTATA/006_analysis_turn
> out.smcl
  log type:  smcl
 opened on:   6 Nov 2021, 20:34:03

. 
. 
. *****************************************************************************
> **
. /*                                        URPELAINEN & ZHANG 2021            
>                                     */
. *****************************************************************************
> **
. 
. /* 
> 
> File Name:      006_analysis_turnout.do
> 
> By:                             Alice Tianbo Zhang (alice.tianbo.zhang@gmail.
> com)
> 
> Last Edited:    10/13/2021
> 
> Purpose:                
> 
> Data Used:      election_turnout_district_panel.dta
>                                 
> 
> Program Used:   - reghdfe -
> 
> */
. 
. 
. *****************************************************************************
> **
. /*                              TURNOUT ANALYSIS BY PARTY ID                 
>                 */
. *****************************************************************************
> **
. cd "$rootDir/$dataDir/Final"
/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang
> )/JOP/UZ_JOP2021_Replication/Data/Final

. use election_turnout_district_panel.dta, clear

. 
. ** Create instrument and fixed effects
. gen t = year - 2004

. gen inter = t * mean_wp

. 
. egen stateyear_fixed = group(state year)

. egen state_fixed = group(state)

. egen district_fixed = group(state district)

. 
. gen cum_lncapacity_turbine = log(cum_capacity_turbine + 1)

. gen cum_lncount_turbine = log(cum_count_turbine +1 )

. 
. local outcome dem_turnout rep_turnout ind_turnout // outcome variable 

. local endogenous cum_lncapacity_turbine cum_lncount_turbine // endogenous var
> iable

. local instrument inter // instrument

. 
. foreach y in `outcome' {
  2.         // Create outcome variable label for storing estimates
.         local y_name = substr("`y'", 1, 3)
  3.         
.         foreach x in `endogenous' {
  4.                         // Create endogenous variable label for storing es
> timates
.                         tokenize "`x'", parse("_")
  5.                         local x_name "`3'"
  6.                         di "`x_name'"
  7.                         
.                         // Run IV regression
.                         reghdfe `y' (`x' = `instrument'), absorb(state_fixed 
> year) ffirst stages(first ols reduced) vce(cluster district_fixed) old
  8.                         
.                         // Store IV, first stage, OLS, reduced form estimates
.                         estimates store `y_name'_`x_name'_iv
  9.                         estimates restore reghdfe_first1
 10.                         estimates store `y_name'_`x_name'_first
 11.                         estimates restore reghdfe_ols
 12.                         estimates store `y_name'_`x_name'_ols
 13.                         estimates restore reghdfe_reduced
 14.                         estimates store `y_name'_`x_name'_reduced
 15.                 }
 16. }
lncapacity
(running historical version of reghdfe)
(dropped 3 singleton observations)
(converged in 4 iterations)

Stage: first - cum_lncapacity_turbine

HDFE Linear regression                            Number of obs   =        145
Absorbing 2 HDFE groups                           F(   1,    126) =       4.14
Statistics robust to heteroskedasticity           Prob > F        =     0.0440
                                                  R-squared       =     0.2546
                                                  Adj R-squared   =     0.1273
                                                  Within R-sq.    =     0.1054
Number of clusters (district_fixed) =        127  Root MSE        =     1.2369

                       (Std. Err. adjusted for 127 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
cum_lncapa~e |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |   .3569881   .1754439     2.03   0.044     .0097898    .7041863
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           20              20              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: ols

HDFE Linear regression                            Number of obs   =        145
Absorbing 2 HDFE groups                           F(   1,    126) =       2.74
Statistics robust to heteroskedasticity           Prob > F        =     0.1004
                                                  R-squared       =     0.2057
                                                  Adj R-squared   =     0.0701
                                                  Within R-sq.    =     0.0191
Number of clusters (district_fixed) =        127  Root MSE        =     0.2821

                                 (Std. Err. adjusted for 127 clusters in distri
> ct_fixed)
-------------------------------------------------------------------------------
---------
                       |               Robust
           dem_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. 
> Interval]
-----------------------+-------------------------------------------------------
---------
cum_lncapacity_turbine |  -.0301317   .0182033    -1.66   0.100    -.0661554   
>  .0058921
-------------------------------------------------------------------------------
---------

Absorbed degrees of freedom:
-------------------------------------------------------------------------+
           Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------+-------------------------------------------------|
           state_fixed |           20              20              0     | 
                  year |            1               2              1     | 
-------------------------------------------------------------------------+

Stage: reduced

HDFE Linear regression                            Number of obs   =        145
Absorbing 2 HDFE groups                           F(   1,    126) =       1.69
Statistics robust to heteroskedasticity           Prob > F        =     0.1956
                                                  R-squared       =     0.1943
                                                  Adj R-squared   =     0.0567
                                                  Within R-sq.    =     0.0051
Number of clusters (district_fixed) =        127  Root MSE        =     0.2841

                       (Std. Err. adjusted for 127 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
 dem_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |  -.0170413   .0130969    -1.30   0.196    -.0429597    .0088771
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           20              20              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: iv


Summary results for first-stage regressions
-------------------------------------------

                                           (Underid)            (Weak id)
Variable     | F(  1,   126)  P-val | SW Chi-sq(  1) P-val | SW F(  1,   126)
cum_lncapaci |       4.14    0.0440 |        4.89   0.0271 |        4.14

NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

Underidentification test
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
Kleibergen-Paap rk LM statistic          Chi-sq(1)=2.97     P-val=0.0846

Weak identification test
Ho: equation is weakly identified
Cragg-Donald Wald F statistic                                      14.49
Kleibergen-Paap Wald rk F statistic                                 4.14

Stock-Yogo weak ID test critical values for K1=1 and L1=1:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

Weak-instrument-robust inference
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
Anderson-Rubin Wald test           F(1,126)=       1.69     P-val=0.1956
Anderson-Rubin Wald test           Chi-sq(1)=      2.00     P-val=0.1575
Stock-Wright LM S statistic        Chi-sq(1)=      1.88     P-val=0.1700

NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  =        127
Number of observations               N  =        145
Number of regressors                 K  =          1
Number of endogenous regressors      K1 =          1
Number of instruments                L  =          1
Number of excluded instruments       L1 =          1

HDFE IV (2SLS) estimation
-------------------------

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) =    127          Number of obs =      145
                                                      F(  1,   126) =     1.06
                                                      Prob > F      =   0.3046
Total (centered) SS     =  9.976702419                Centered R2   =   0.2004
Total (uncentered) SS   =  9.976702419                Uncentered R2 =        .
Residual SS             =  9.850914583                Root MSE      =     .283

-------------------------------------------------------------------------------
---------
                       |               Robust
           dem_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. 
> Interval]
-----------------------+-------------------------------------------------------
---------
cum_lncapacity_turbine |  -.0477364   .0463123    -1.03   0.305     -.139387   
>  .0439143
-------------------------------------------------------------------------------
---------
Underidentification test (Kleibergen-Paap rk LM statistic):              2.974
                                                   Chi-sq(1) P-val =    0.0846
------------------------------------------------------------------------------
Weak identification test (Cragg-Donald Wald F statistic):               14.493
                         (Kleibergen-Paap rk Wald F statistic):          4.140
Stock-Yogo weak ID test critical values: 10% maximal IV size             16.38
                                         15% maximal IV size              8.96
                                         20% maximal IV size              6.66
                                         25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
------------------------------------------------------------------------------
Hansen J statistic (overidentification test of all instruments):         0.000
                                                 (equation exactly identified)
------------------------------------------------------------------------------
Instrumented:         cum_lncapacity_turbine
Excluded instruments: inter
------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------------+
           Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------+-------------------------------------------------|
           state_fixed |           20              20              0     | 
                  year |            1               2              1     | 
-------------------------------------------------------------------------+
(results reghdfe_first1 are active now)
(results reghdfe_ols are active now)
(results reghdfe_reduced are active now)
lncount
(running historical version of reghdfe)
(dropped 3 singleton observations)
(converged in 4 iterations)

Stage: first - cum_lncount_turbine

HDFE Linear regression                            Number of obs   =        145
Absorbing 2 HDFE groups                           F(   1,    126) =       3.56
Statistics robust to heteroskedasticity           Prob > F        =     0.0616
                                                  R-squared       =     0.2303
                                                  Adj R-squared   =     0.0988
                                                  Within R-sq.    =     0.0915
Number of clusters (district_fixed) =        127  Root MSE        =     1.3187

                       (Std. Err. adjusted for 127 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
cum_lncoun~e |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |    .351813   .1865367     1.89   0.062    -.0173376    .7209636
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           20              20              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: ols

HDFE Linear regression                            Number of obs   =        145
Absorbing 2 HDFE groups                           F(   1,    126) =       3.15
Statistics robust to heteroskedasticity           Prob > F        =     0.0784
                                                  R-squared       =     0.2048
                                                  Adj R-squared   =     0.0691
                                                  Within R-sq.    =     0.0181
Number of clusters (district_fixed) =        127  Root MSE        =     0.2822

                              (Std. Err. adjusted for 127 clusters in district_
> fixed)
-------------------------------------------------------------------------------
------
                    |               Robust
        dem_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Int
> erval]
--------------------+----------------------------------------------------------
------
cum_lncount_turbine |  -.0277079    .015617    -1.77   0.078    -.0586134    .0
> 031976
-------------------------------------------------------------------------------
------

Absorbed degrees of freedom:
----------------------------------------------------------------------+
        Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
--------------------+-------------------------------------------------|
        state_fixed |           20              20              0     | 
               year |            1               2              1     | 
----------------------------------------------------------------------+

Stage: reduced

HDFE Linear regression                            Number of obs   =        145
Absorbing 2 HDFE groups                           F(   1,    126) =       1.69
Statistics robust to heteroskedasticity           Prob > F        =     0.1956
                                                  R-squared       =     0.1943
                                                  Adj R-squared   =     0.0567
                                                  Within R-sq.    =     0.0051
Number of clusters (district_fixed) =        127  Root MSE        =     0.2841

                       (Std. Err. adjusted for 127 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
 dem_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |  -.0170413   .0130969    -1.30   0.196    -.0429597    .0088771
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           20              20              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: iv


Summary results for first-stage regressions
-------------------------------------------

                                           (Underid)            (Weak id)
Variable     | F(  1,   126)  P-val | SW Chi-sq(  1) P-val | SW F(  1,   126)
cum_lncount_ |       3.56    0.0616 |        4.20   0.0405 |        3.56

NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

Underidentification test
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
Kleibergen-Paap rk LM statistic          Chi-sq(1)=2.73     P-val=0.0985

Weak identification test
Ho: equation is weakly identified
Cragg-Donald Wald F statistic                                      12.38
Kleibergen-Paap Wald rk F statistic                                 3.56

Stock-Yogo weak ID test critical values for K1=1 and L1=1:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

Weak-instrument-robust inference
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
Anderson-Rubin Wald test           F(1,126)=       1.69     P-val=0.1956
Anderson-Rubin Wald test           Chi-sq(1)=      2.00     P-val=0.1575
Stock-Wright LM S statistic        Chi-sq(1)=      1.88     P-val=0.1700

NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  =        127
Number of observations               N  =        145
Number of regressors                 K  =          1
Number of endogenous regressors      K1 =          1
Number of instruments                L  =          1
Number of excluded instruments       L1 =          1

HDFE IV (2SLS) estimation
-------------------------

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) =    127          Number of obs =      145
                                                      F(  1,   126) =     1.05
                                                      Prob > F      =   0.3074
Total (centered) SS     =  9.976702419                Centered R2   =   0.1966
Total (uncentered) SS   =  9.976702419                Uncentered R2 =        .
Residual SS             =  9.897136438                Root MSE      =    .2837

-------------------------------------------------------------------------------
------
                    |               Robust
        dem_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Int
> erval]
--------------------+----------------------------------------------------------
------
cum_lncount_turbine |  -.0484386   .0472665    -1.02   0.307    -.1419776    .0
> 451004
-------------------------------------------------------------------------------
------
Underidentification test (Kleibergen-Paap rk LM statistic):              2.729
                                                   Chi-sq(1) P-val =    0.0985
------------------------------------------------------------------------------
Weak identification test (Cragg-Donald Wald F statistic):               12.384
                         (Kleibergen-Paap rk Wald F statistic):          3.557
Stock-Yogo weak ID test critical values: 10% maximal IV size             16.38
                                         15% maximal IV size              8.96
                                         20% maximal IV size              6.66
                                         25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
------------------------------------------------------------------------------
Hansen J statistic (overidentification test of all instruments):         0.000
                                                 (equation exactly identified)
------------------------------------------------------------------------------
Instrumented:         cum_lncount_turbine
Excluded instruments: inter
------------------------------------------------------------------------------

Absorbed degrees of freedom:
----------------------------------------------------------------------+
        Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
--------------------+-------------------------------------------------|
        state_fixed |           20              20              0     | 
               year |            1               2              1     | 
----------------------------------------------------------------------+
(results reghdfe_first1 are active now)
(results reghdfe_ols are active now)
(results reghdfe_reduced are active now)
lncapacity
(running historical version of reghdfe)
(dropped 4 singleton observations)
(converged in 4 iterations)

Stage: first - cum_lncapacity_turbine

HDFE Linear regression                            Number of obs   =        125
Absorbing 2 HDFE groups                           F(   1,    111) =       2.93
Statistics robust to heteroskedasticity           Prob > F        =     0.0895
                                                  R-squared       =     0.2483
                                                  Adj R-squared   =     0.1037
                                                  Within R-sq.    =     0.0926
Number of clusters (district_fixed) =        112  Root MSE        =     1.3093

                       (Std. Err. adjusted for 112 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
cum_lncapa~e |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |   .3459127    .201954     1.71   0.090    -.0542726    .7460981
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           19              19              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: ols

HDFE Linear regression                            Number of obs   =        125
Absorbing 2 HDFE groups                           F(   1,    111) =       0.18
Statistics robust to heteroskedasticity           Prob > F        =     0.6764
                                                  R-squared       =     0.1106
                                                  Adj R-squared   =    -0.0604
                                                  Within R-sq.    =     0.0008
Number of clusters (district_fixed) =        112  Root MSE        =     0.2615

                                 (Std. Err. adjusted for 112 clusters in distri
> ct_fixed)
-------------------------------------------------------------------------------
---------
                       |               Robust
           rep_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. 
> Interval]
-----------------------+-------------------------------------------------------
---------
cum_lncapacity_turbine |   .0052294   .0124975     0.42   0.676    -.0195353   
>  .0299941
-------------------------------------------------------------------------------
---------

Absorbed degrees of freedom:
-------------------------------------------------------------------------+
           Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------+-------------------------------------------------|
           state_fixed |           19              19              0     | 
                  year |            1               2              1     | 
-------------------------------------------------------------------------+

Stage: reduced

HDFE Linear regression                            Number of obs   =        125
Absorbing 2 HDFE groups                           F(   1,    111) =       0.60
Statistics robust to heteroskedasticity           Prob > F        =     0.4408
                                                  R-squared       =     0.1131
                                                  Adj R-squared   =    -0.0575
                                                  Within R-sq.    =     0.0036
Number of clusters (district_fixed) =        112  Root MSE        =     0.2612

                       (Std. Err. adjusted for 112 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
 rep_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |  -.0129105   .0166876    -0.77   0.441     -.045978    .0201571
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           19              19              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: iv


Summary results for first-stage regressions
-------------------------------------------

                                           (Underid)            (Weak id)
Variable     | F(  1,   111)  P-val | SW Chi-sq(  1) P-val | SW F(  1,   111)
cum_lncapaci |       2.93    0.0895 |        3.53   0.0603 |        2.93

NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

Underidentification test
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
Kleibergen-Paap rk LM statistic          Chi-sq(1)=2.14     P-val=0.1435

Weak identification test
Ho: equation is weakly identified
Cragg-Donald Wald F statistic                                      10.61
Kleibergen-Paap Wald rk F statistic                                 2.93

Stock-Yogo weak ID test critical values for K1=1 and L1=1:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

Weak-instrument-robust inference
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
Anderson-Rubin Wald test           F(1,111)=       0.60     P-val=0.4408
Anderson-Rubin Wald test           Chi-sq(1)=      0.72     P-val=0.3961
Stock-Wright LM S statistic        Chi-sq(1)=      0.70     P-val=0.4038

NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  =        112
Number of observations               N  =        125
Number of regressors                 K  =          1
Number of endogenous regressors      K1 =          1
Number of instruments                L  =          1
Number of excluded instruments       L1 =          1

HDFE IV (2SLS) estimation
-------------------------

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) =    112          Number of obs =      125
                                                      F(  1,   111) =     0.35
                                                      Prob > F      =   0.5539
Total (centered) SS     =  7.118373828                Centered R2   =   0.0661
Total (uncentered) SS   =  7.118373828                Uncentered R2 =        .
Residual SS             =  7.468745575                Root MSE      =     .268

-------------------------------------------------------------------------------
---------
                       |               Robust
           rep_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. 
> Interval]
-----------------------+-------------------------------------------------------
---------
cum_lncapacity_turbine |  -.0373229   .0628639    -0.59   0.554     -.161892   
>  .0872462
-------------------------------------------------------------------------------
---------
Underidentification test (Kleibergen-Paap rk LM statistic):              2.140
                                                   Chi-sq(1) P-val =    0.1435
------------------------------------------------------------------------------
Weak identification test (Cragg-Donald Wald F statistic):               10.611
                         (Kleibergen-Paap rk Wald F statistic):          2.934
Stock-Yogo weak ID test critical values: 10% maximal IV size             16.38
                                         15% maximal IV size              8.96
                                         20% maximal IV size              6.66
                                         25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
------------------------------------------------------------------------------
Hansen J statistic (overidentification test of all instruments):         0.000
                                                 (equation exactly identified)
------------------------------------------------------------------------------
Instrumented:         cum_lncapacity_turbine
Excluded instruments: inter
------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------------+
           Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------+-------------------------------------------------|
           state_fixed |           19              19              0     | 
                  year |            1               2              1     | 
-------------------------------------------------------------------------+
(results reghdfe_first1 are active now)
(results reghdfe_ols are active now)
(results reghdfe_reduced are active now)
lncount
(running historical version of reghdfe)
(dropped 4 singleton observations)
(converged in 4 iterations)

Stage: first - cum_lncount_turbine

HDFE Linear regression                            Number of obs   =        125
Absorbing 2 HDFE groups                           F(   1,    111) =       2.70
Statistics robust to heteroskedasticity           Prob > F        =     0.1034
                                                  R-squared       =     0.2260
                                                  Adj R-squared   =     0.0771
                                                  Within R-sq.    =     0.0845
Number of clusters (district_fixed) =        112  Root MSE        =     1.4090

                       (Std. Err. adjusted for 112 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
cum_lncoun~e |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |   .3541161   .2156426     1.64   0.103     -.073194    .7814263
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           19              19              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: ols

HDFE Linear regression                            Number of obs   =        125
Absorbing 2 HDFE groups                           F(   1,    111) =       0.40
Statistics robust to heteroskedasticity           Prob > F        =     0.5282
                                                  R-squared       =     0.1112
                                                  Adj R-squared   =    -0.0598
                                                  Within R-sq.    =     0.0014
Number of clusters (district_fixed) =        112  Root MSE        =     0.2614

                              (Std. Err. adjusted for 112 clusters in district_
> fixed)
-------------------------------------------------------------------------------
------
                    |               Robust
        rep_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Int
> erval]
--------------------+----------------------------------------------------------
------
cum_lncount_turbine |   .0065894   .0104131     0.63   0.528    -.0140449    .0
> 272237
-------------------------------------------------------------------------------
------

Absorbed degrees of freedom:
----------------------------------------------------------------------+
        Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
--------------------+-------------------------------------------------|
        state_fixed |           19              19              0     | 
               year |            1               2              1     | 
----------------------------------------------------------------------+

Stage: reduced

HDFE Linear regression                            Number of obs   =        125
Absorbing 2 HDFE groups                           F(   1,    111) =       0.60
Statistics robust to heteroskedasticity           Prob > F        =     0.4408
                                                  R-squared       =     0.1131
                                                  Adj R-squared   =    -0.0575
                                                  Within R-sq.    =     0.0036
Number of clusters (district_fixed) =        112  Root MSE        =     0.2612

                       (Std. Err. adjusted for 112 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
 rep_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |  -.0129105   .0166876    -0.77   0.441     -.045978    .0201571
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           19              19              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: iv


Summary results for first-stage regressions
-------------------------------------------

                                           (Underid)            (Weak id)
Variable     | F(  1,   111)  P-val | SW Chi-sq(  1) P-val | SW F(  1,   111)
cum_lncount_ |       2.70    0.1034 |        3.24   0.0717 |        2.70

NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

Underidentification test
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
Kleibergen-Paap rk LM statistic          Chi-sq(1)=2.09     P-val=0.1480

Weak identification test
Ho: equation is weakly identified
Cragg-Donald Wald F statistic                                       9.60
Kleibergen-Paap Wald rk F statistic                                 2.70

Stock-Yogo weak ID test critical values for K1=1 and L1=1:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

Weak-instrument-robust inference
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
Anderson-Rubin Wald test           F(1,111)=       0.60     P-val=0.4408
Anderson-Rubin Wald test           Chi-sq(1)=      0.72     P-val=0.3961
Stock-Wright LM S statistic        Chi-sq(1)=      0.70     P-val=0.4038

NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  =        112
Number of observations               N  =        125
Number of regressors                 K  =          1
Number of endogenous regressors      K1 =          1
Number of instruments                L  =          1
Number of excluded instruments       L1 =          1

HDFE IV (2SLS) estimation
-------------------------

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) =    112          Number of obs =      125
                                                      F(  1,   111) =     0.35
                                                      Prob > F      =   0.5580
Total (centered) SS     =  7.118373828                Centered R2   =   0.0589
Total (uncentered) SS   =  7.118373828                Uncentered R2 =        .
Residual SS             =  7.526498414                Root MSE      =     .269

-------------------------------------------------------------------------------
------
                    |               Robust
        rep_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Int
> erval]
--------------------+----------------------------------------------------------
------
cum_lncount_turbine |  -.0364583   .0620409    -0.59   0.558    -.1593964    .0
> 864798
-------------------------------------------------------------------------------
------
Underidentification test (Kleibergen-Paap rk LM statistic):              2.093
                                                   Chi-sq(1) P-val =    0.1480
------------------------------------------------------------------------------
Weak identification test (Cragg-Donald Wald F statistic):                9.602
                         (Kleibergen-Paap rk Wald F statistic):          2.697
Stock-Yogo weak ID test critical values: 10% maximal IV size             16.38
                                         15% maximal IV size              8.96
                                         20% maximal IV size              6.66
                                         25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
------------------------------------------------------------------------------
Hansen J statistic (overidentification test of all instruments):         0.000
                                                 (equation exactly identified)
------------------------------------------------------------------------------
Instrumented:         cum_lncount_turbine
Excluded instruments: inter
------------------------------------------------------------------------------

Absorbed degrees of freedom:
----------------------------------------------------------------------+
        Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
--------------------+-------------------------------------------------|
        state_fixed |           19              19              0     | 
               year |            1               2              1     | 
----------------------------------------------------------------------+
(results reghdfe_first1 are active now)
(results reghdfe_ols are active now)
(results reghdfe_reduced are active now)
lncapacity
(running historical version of reghdfe)
(dropped 5 singleton observations)
(converged in 4 iterations)

Stage: first - cum_lncapacity_turbine

HDFE Linear regression                            Number of obs   =         84
Absorbing 2 HDFE groups                           F(   1,     75) =       3.27
Statistics robust to heteroskedasticity           Prob > F        =     0.0744
                                                  R-squared       =     0.2992
                                                  Adj R-squared   =     0.1051
                                                  Within R-sq.    =     0.1101
Number of clusters (district_fixed) =         76  Root MSE        =     1.5980

                        (Std. Err. adjusted for 76 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
cum_lncapa~e |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |   .3940231   .2177586     1.81   0.074    -.0397743    .8278205
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           17              17              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: ols

HDFE Linear regression                            Number of obs   =         84
Absorbing 2 HDFE groups                           F(   1,     75) =       0.08
Statistics robust to heteroskedasticity           Prob > F        =     0.7729
                                                  R-squared       =     0.2436
                                                  Adj R-squared   =     0.0341
                                                  Within R-sq.    =     0.0012
Number of clusters (district_fixed) =         76  Root MSE        =     0.4045

                                  (Std. Err. adjusted for 76 clusters in distri
> ct_fixed)
-------------------------------------------------------------------------------
---------
                       |               Robust
           ind_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. 
> Interval]
-----------------------+-------------------------------------------------------
---------
cum_lncapacity_turbine |   .0082003    .028313     0.29   0.773     -.048202   
>  .0646027
-------------------------------------------------------------------------------
---------

Absorbed degrees of freedom:
-------------------------------------------------------------------------+
           Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------+-------------------------------------------------|
           state_fixed |           17              17              0     | 
                  year |            1               2              1     | 
-------------------------------------------------------------------------+

Stage: reduced

HDFE Linear regression                            Number of obs   =         84
Absorbing 2 HDFE groups                           F(   1,     75) =       0.86
Statistics robust to heteroskedasticity           Prob > F        =     0.3568
                                                  R-squared       =     0.2583
                                                  Adj R-squared   =     0.0529
                                                  Within R-sq.    =     0.0206
Number of clusters (district_fixed) =         76  Root MSE        =     0.4005

                        (Std. Err. adjusted for 76 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
 ind_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |   .0407134   .0439096     0.93   0.357    -.0467589    .1281858
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           17              17              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: iv


Summary results for first-stage regressions
-------------------------------------------

                                           (Underid)            (Weak id)
Variable     | F(  1,    75)  P-val | SW Chi-sq(  1) P-val | SW F(  1,    75)
cum_lncapaci |       3.27    0.0744 |        4.24   0.0396 |        3.27

NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

Underidentification test
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
Kleibergen-Paap rk LM statistic          Chi-sq(1)=2.62     P-val=0.1054

Weak identification test
Ho: equation is weakly identified
Cragg-Donald Wald F statistic                                       8.04
Kleibergen-Paap Wald rk F statistic                                 3.27

Stock-Yogo weak ID test critical values for K1=1 and L1=1:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

Weak-instrument-robust inference
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
Anderson-Rubin Wald test           F(1,75)=        0.86     P-val=0.3568
Anderson-Rubin Wald test           Chi-sq(1)=      1.11     P-val=0.2916
Stock-Wright LM S statistic        Chi-sq(1)=      1.48     P-val=0.2245

NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  =         76
Number of observations               N  =         84
Number of regressors                 K  =          1
Number of endogenous regressors      K1 =          1
Number of instruments                L  =          1
Number of excluded instruments       L1 =          1

HDFE IV (2SLS) estimation
-------------------------

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) =     76          Number of obs =       84
                                                      F(  1,    75) =     0.71
                                                      Prob > F      =   0.4024
Total (centered) SS     =  10.64639115                Centered R2   =   0.1235
Total (uncentered) SS   =  10.64639115                Uncentered R2 =        .
Residual SS             =  12.32165414                Root MSE      =    .4354

-------------------------------------------------------------------------------
---------
                       |               Robust
           ind_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. 
> Interval]
-----------------------+-------------------------------------------------------
---------
cum_lncapacity_turbine |   .1033275    .122688     0.84   0.402    -.1410794   
>  .3477345
-------------------------------------------------------------------------------
---------
Underidentification test (Kleibergen-Paap rk LM statistic):              2.622
                                                   Chi-sq(1) P-val =    0.1054
------------------------------------------------------------------------------
Weak identification test (Cragg-Donald Wald F statistic):                8.039
                         (Kleibergen-Paap rk Wald F statistic):          3.274
Stock-Yogo weak ID test critical values: 10% maximal IV size             16.38
                                         15% maximal IV size              8.96
                                         20% maximal IV size              6.66
                                         25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
------------------------------------------------------------------------------
Hansen J statistic (overidentification test of all instruments):         0.000
                                                 (equation exactly identified)
------------------------------------------------------------------------------
Instrumented:         cum_lncapacity_turbine
Excluded instruments: inter
------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------------+
           Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------+-------------------------------------------------|
           state_fixed |           17              17              0     | 
                  year |            1               2              1     | 
-------------------------------------------------------------------------+
(results reghdfe_first1 are active now)
(results reghdfe_ols are active now)
(results reghdfe_reduced are active now)
lncount
(running historical version of reghdfe)
(dropped 5 singleton observations)
(converged in 4 iterations)

Stage: first - cum_lncount_turbine

HDFE Linear regression                            Number of obs   =         84
Absorbing 2 HDFE groups                           F(   1,     75) =       2.52
Statistics robust to heteroskedasticity           Prob > F        =     0.1166
                                                  R-squared       =     0.2635
                                                  Adj R-squared   =     0.0595
                                                  Within R-sq.    =     0.0888
Number of clusters (district_fixed) =         76  Root MSE        =     1.7151

                        (Std. Err. adjusted for 76 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
cum_lncoun~e |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |   .3754897   .2365488     1.59   0.117    -.0957397    .8467191
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           17              17              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: ols

HDFE Linear regression                            Number of obs   =         84
Absorbing 2 HDFE groups                           F(   1,     75) =       0.03
Statistics robust to heteroskedasticity           Prob > F        =     0.8660
                                                  R-squared       =     0.2430
                                                  Adj R-squared   =     0.0334
                                                  Within R-sq.    =     0.0005
Number of clusters (district_fixed) =         76  Root MSE        =     0.4046

                               (Std. Err. adjusted for 76 clusters in district_
> fixed)
-------------------------------------------------------------------------------
------
                    |               Robust
        ind_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Int
> erval]
--------------------+----------------------------------------------------------
------
cum_lncount_turbine |   .0050032   .0295401     0.17   0.866    -.0538436      
> .06385
-------------------------------------------------------------------------------
------

Absorbed degrees of freedom:
----------------------------------------------------------------------+
        Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
--------------------+-------------------------------------------------|
        state_fixed |           17              17              0     | 
               year |            1               2              1     | 
----------------------------------------------------------------------+

Stage: reduced

HDFE Linear regression                            Number of obs   =         84
Absorbing 2 HDFE groups                           F(   1,     75) =       0.86
Statistics robust to heteroskedasticity           Prob > F        =     0.3568
                                                  R-squared       =     0.2583
                                                  Adj R-squared   =     0.0529
                                                  Within R-sq.    =     0.0206
Number of clusters (district_fixed) =         76  Root MSE        =     0.4005

                        (Std. Err. adjusted for 76 clusters in district_fixed)
------------------------------------------------------------------------------
             |               Robust
 ind_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
       inter |   .0407134   .0439096     0.93   0.357    -.0467589    .1281858
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
 state_fixed |           17              17              0     | 
        year |            1               2              1     | 
---------------------------------------------------------------+

Stage: iv


Summary results for first-stage regressions
-------------------------------------------

                                           (Underid)            (Weak id)
Variable     | F(  1,    75)  P-val | SW Chi-sq(  1) P-val | SW F(  1,    75)
cum_lncount_ |       2.52    0.1166 |        3.26   0.0710 |        2.52

NB: first-stage test statistics cluster-robust

Stock-Yogo weak ID F test critical values for single endogenous regressor:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for i.i.d. errors only.

Underidentification test
Ho: matrix of reduced form coefficients has rank=K1-1 (underidentified)
Ha: matrix has rank=K1 (identified)
Kleibergen-Paap rk LM statistic          Chi-sq(1)=2.22     P-val=0.1360

Weak identification test
Ho: equation is weakly identified
Cragg-Donald Wald F statistic                                       6.34
Kleibergen-Paap Wald rk F statistic                                 2.52

Stock-Yogo weak ID test critical values for K1=1 and L1=1:
                                   10% maximal IV size             16.38
                                   15% maximal IV size              8.96
                                   20% maximal IV size              6.66
                                   25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.

Weak-instrument-robust inference
Tests of joint significance of endogenous regressors B1 in main equation
Ho: B1=0 and orthogonality conditions are valid
Anderson-Rubin Wald test           F(1,75)=        0.86     P-val=0.3568
Anderson-Rubin Wald test           Chi-sq(1)=      1.11     P-val=0.2916
Stock-Wright LM S statistic        Chi-sq(1)=      1.48     P-val=0.2245

NB: Underidentification, weak identification and weak-identification-robust
    test statistics cluster-robust

Number of clusters             N_clust  =         76
Number of observations               N  =         84
Number of regressors                 K  =          1
Number of endogenous regressors      K1 =          1
Number of instruments                L  =          1
Number of excluded instruments       L1 =          1

HDFE IV (2SLS) estimation
-------------------------

Estimates efficient for homoskedasticity only
Statistics robust to heteroskedasticity and clustering on district_fixed

Number of clusters (district_fixed) =     76          Number of obs =       84
                                                      F(  1,    75) =     0.69
                                                      Prob > F      =   0.4074
Total (centered) SS     =  10.64639115                Centered R2   =   0.0834
Total (uncentered) SS   =  10.64639115                Uncentered R2 =        .
Residual SS             =  12.88582917                Root MSE      =    .4452

-------------------------------------------------------------------------------
------
                    |               Robust
        ind_turnout |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Int
> erval]
--------------------+----------------------------------------------------------
------
cum_lncount_turbine |   .1084276   .1301378     0.83   0.407    -.1508201    .3
> 676753
-------------------------------------------------------------------------------
------
Underidentification test (Kleibergen-Paap rk LM statistic):              2.223
                                                   Chi-sq(1) P-val =    0.1360
------------------------------------------------------------------------------
Weak identification test (Cragg-Donald Wald F statistic):                6.338
                         (Kleibergen-Paap rk Wald F statistic):          2.520
Stock-Yogo weak ID test critical values: 10% maximal IV size             16.38
                                         15% maximal IV size              8.96
                                         20% maximal IV size              6.66
                                         25% maximal IV size              5.53
Source: Stock-Yogo (2005).  Reproduced by permission.
NB: Critical values are for Cragg-Donald F statistic and i.i.d. errors.
------------------------------------------------------------------------------
Hansen J statistic (overidentification test of all instruments):         0.000
                                                 (equation exactly identified)
------------------------------------------------------------------------------
Instrumented:         cum_lncount_turbine
Excluded instruments: inter
------------------------------------------------------------------------------

Absorbed degrees of freedom:
----------------------------------------------------------------------+
        Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
--------------------+-------------------------------------------------|
        state_fixed |           17              17              0     | 
               year |            1               2              1     | 
----------------------------------------------------------------------+
(results reghdfe_first1 are active now)
(results reghdfe_ols are active now)
(results reghdfe_reduced are active now)

. 
. *----------------- Export LaTeX tables - Turnout by party ID ----------------
> *
. cd "$rootDir/$resultDir/Tables"
/Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urpelainen Zhang
> )/JOP/UZ_JOP2021_Replication/Results/Tables

. 
. * First stage
. esttab dem_lncapacity_first dem_lncount_first rep_lncapacity_first rep_lncoun
> t_first ///
>                 ind_lncapacity_first ind_lncount_first using TableA19.tex, bo
> oktabs replace ///
>                 refcat(inter "\emph{Panel A: First stage}", nolabel) ///
>                 b(%9.3f) se noconstant noobs nonotes star(* 0.10 ** 0.05 *** 
> 0.01) ///
>                 varlabels(inter "Mean wind potential * time") varwidth(20) mo
> delwidth(10) ///
>                 mtitles("Model" "Model" "Model" "Model" "Model" "Model") ///
>                 mgroups("Democratic Turnout" "Republican Turnout" "Independen
> t Turnout", pattern(1 0 1 0 1 0) prefix(\multicolumn{@span}{c}{) suffix(}) sp
> an erepeat(\cmidrule(lr){@span})) ///
>                 width(\hsize)
(output written to TableA19.tex)

.                 
.         
. * IV
. esttab dem_lncapacity_iv dem_lncount_iv rep_lncapacity_iv rep_lncount_iv ///
>                 ind_lncapacity_iv ind_lncount_iv using TableA19.tex, booktabs
>  append ///
>                 refcat(cum_lncapacity_turbine "\emph{Panel B: IV}", nolabel) 
> ///
>                 nomtitles se noconstant nonotes legend nonumbers collabels(no
> ne) star(* 0.10 ** 0.05 *** 0.01) ///
>                 b(%9.3f) stats(N N_clust r2, labels("Observations" "Districts
> " "\(R^{2}\)") fmt(0 0 2 2)) ///
>                 varlabels(cum_lncapacity_turbine "log(Cumulative capacity+1)"
>  cum_lncount_turbine "log(Cumulative count+1)") varwidth(27) modelwidth(13) /
> //
>                 width(\hsize)
(output written to TableA19.tex)

.                 
. 
. 
. 
. ** Close log file
. log close
      name:  <unnamed>
       log:  /Users/AliceZhang/Dropbox/Research_Columbia/Renewables Voting (Urp
> elainen Zhang)/JOP/UZ_JOP2021_Replication/Analysis/logSTATA/006_analysis_turn
> out.smcl
  log type:  smcl
 closed on:   6 Nov 2021, 20:34:05
-------------------------------------------------------------------------------
